<template>
  <section>
    <div class="box-top">
        <h4>热门搜索</h4><span>隐藏</span>
    </div>
    <div class="box-bottom">
        <ul>
            <li v-for="(v,index) in list" :key="index">{{ v }}</li>
        </ul>
    </div>
  </section>
</template>

<script>
export default {
    data(){
        return{
            list:['铝框拉杆箱','不锈钢蒸锅','多美鲜黄油','欧式吊灯','婴儿爬行垫','白板','多功能沙发床','电话交换机','脸部卸妆油']
        }
    }
}
</script>

<style lang="scss" scoped>
section{
    width: 100vw;
    height: 34.1333vw;
    background: #fff;
    padding: 2.6667vw;
    box-sizing: border-box;
}
.box-top{
    display: flex;
    justify-content: space-between;
}
h4{
    font-weight: normal;
}
span{
    color: #999;
}
ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
li{
    background: #eee;
    font-size: 3.2vw;
    color: #666;
    padding: 0 4vw;
    border-radius: 1.0667vw;
    margin:2vw 0;
}
</style>